package com.cody.date160129;

import ch.qos.logback.classic.LoggerContext;
import ch.qos.logback.core.util.StatusPrinter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;


/**
 * hello world of slf4j
 * Created by cody on 16/1/29.
 */
public class Exercise1 {

    public static void main(String[] args) {
        Logger logger = LoggerFactory.getLogger("com.cody.date160129.Exercise1");
        logger.debug("Hello World!");

        LoggerContext lc = (LoggerContext) LoggerFactory.getILoggerFactory();
        StatusPrinter.print(lc);
    }

}
